.PHONY:all
all:UdpServer UdpClient

UdpServer:main.cpp
	g++ -o $@ $^ -std=c++14 -lpthread
UdpClient:UdpClient.cc
	g++ -o $@ $^ -std=c++14 -lpthread

.PHONY:clean
clean:
	rm -f UdpServer